package com.cj.springmvc.test.web;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cj.springmvc.test.bo.PersonsBo;

@Controller
@Scope("prototype")
@RequestMapping("user")
public class UserController {
	
	@Resource(name = "personsBo")
	private PersonsBo personsBo;
	
	@RequestMapping("gotoBasicInfo")
	public String gotoBasicInfo(Model model){
		
		return "user/basicInfo";
	}
}
